<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasMany;
class ComponentType extends Model
{

    protected $casts = [
        'dependencies' => 'array',
        'params' => 'array',
        'included_component_type_ids' => 'array',
    ];
    public function component():BelongsTo
    {
        return $this->belongsTo(Component::class);
    }
}
